﻿@model IEnumerable<CloudFranceTriple.Models.GameGroupSet>

@{
    ViewBag.Title = CloudFranceTriple.WebRole.Properties.Resources.GameIndexTitle;
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="content-padding">
    <h1><a href="/gaming/game">@CloudFranceTriple.WebRole.Properties.Resources.GameIndexTitle</a><span> - </span><a href="/gaming/publisher">@CloudFranceTriple.WebRole.Properties.Resources.MenuPublisher</a><span>- </span>@CloudFranceTriple.WebRole.Properties.Resources.MenuGameGroup</h1>
    <p></p>
    <section>
        <p>
            @Html.ActionLink(CloudFranceTriple.WebRole.Properties.Resources.ButtonCreate, "Create")
        </p>
        <table>
            <thead>
                <tr>
                    <th>
                        @CloudFranceTriple.WebRole.Properties.Resources.GameGroupName
                    </th>
                    <th>
                        @CloudFranceTriple.WebRole.Properties.Resources.GameGroupOrder
                    </th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
                @foreach (var item in Model)
                {
                    <tr>
                        <td>
                            @Html.DisplayFor(modelItem => item.Label)
                        </td>
                        <td>
                            @Html.DisplayFor(modelItem => item.Order)
                        </td>
                        <td>
                            @Html.ActionLink(CloudFranceTriple.WebRole.Properties.Resources.ButtonEdit, "Edit", new { id = item.Id }) |
                            @Html.ActionLink(CloudFranceTriple.WebRole.Properties.Resources.ButtonDelete, "Delete", new { id = item.Id })
                        </td>
                    </tr>
                }
            </tbody>
        </table>
    </section>
    <p>
        @Html.ActionLink(CloudFranceTriple.WebRole.Properties.Resources.ButtonCreate, "Create")
    </p>
    <h1><a href="/gaming/game">@CloudFranceTriple.WebRole.Properties.Resources.GameIndexTitle</a><span> - </span><a href="/gaming/publisher">@CloudFranceTriple.WebRole.Properties.Resources.MenuPublisher</a><span>- </span>@CloudFranceTriple.WebRole.Properties.Resources.MenuGameGroup</h1>
    <br />
</div>
